package cn.tx.model;

import java.util.Date;

/**
 * StoreLog entity. @author MyEclipse Persistence Tools
 */

public class StoreLog implements java.io.Serializable {

	// Fields

	private Integer logId;
	private Integer empId;
	private Integer orderDetailId;
	private Integer storeId;
	private Date operTime;
	private Integer num;
	private Integer type;

	private Emp emp;
	
	private Store store;
	
	private OrderDetail orderDetail;
	
	
	// Constructors

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public Store getStore() {
		return store;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	public OrderDetail getOrderDetail() {
		return orderDetail;
	}

	public void setOrderDetail(OrderDetail orderDetail) {
		this.orderDetail = orderDetail;
	}

	/** default constructor */
	public StoreLog() {
	}

	/** full constructor */
	public StoreLog(Integer empId, Integer orderDetailId, Integer storeId,
			Date operTime, Integer num, Integer type) {
		this.empId = empId;
		this.orderDetailId = orderDetailId;
		this.storeId = storeId;
		this.operTime = operTime;
		this.num = num;
		this.type = type;
	}

	// Property accessors

	public Integer getLogId() {
		return this.logId;
	}

	public void setLogId(Integer logId) {
		this.logId = logId;
	}

	public Integer getEmpId() {
		return this.empId;
	}

	public void setEmpId(Integer empId) {
		this.empId = empId;
	}

	public Integer getOrderDetailId() {
		return this.orderDetailId;
	}

	public void setOrderDetailId(Integer orderDetailId) {
		this.orderDetailId = orderDetailId;
	}

	public Integer getStoreId() {
		return this.storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Date getOperTime() {
		return this.operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}